Skip to content

Tests improvements#2

Merged
mmoreram merged 2 commits intodriftphp:masterfrom
seregazhuk:tests-improvements
Feb 10, 2020
Merged

Tests improvements#2
mmoreram merged 2 commits intodriftphp:masterfrom
seregazhuk:tests-improvements

Conversation

@seregazhuk
Copy link
Copy Markdown
Member

Some small improvements for tests:

  • Move lib for waiting into dev dependencies
  • Add timeout for waiting to prevent "endless" tests

I still suggest adding phpunit dependency to require-dev section. Because it is not obvious what version of PHPUnit we use in the library.

It is used only in tests. There is no need to install it for prod env.
Otherwise the tests can wait endlessly till the promise resolves.
@mmoreram mmoreram merged commit 7c2b04c into driftphp:master Feb 10, 2020
@mmoreram mmoreram deleted the tests-improvements branch February 10, 2020 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants